package com.epam.necklace.view.menu.mainmenu;

import org.apache.log4j.Logger;

import com.epam.necklace.view.menu.MenuItem;

public class Exit extends MenuItem {
	private static final Logger log = Logger.getLogger(Exit.class);

	public Exit() {
		super("Exit", "0");

	}

	@Override
	public boolean execute() {
		log.info("Exit comand");
		System.exit(0);
		return true;
	}

}
